package com.product.server.service;

import com.product.server.mapper.ProductMapper;
import com.product.server.model.ProductInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductService {
    @Autowired
    private ProductMapper productMapper ;

    public ProductInfo getById(Integer productId) {
       return productMapper.getById(productId);
    }
}
